package com.googlecode.gwt4gae.client.home;

import com.extjs.gxt.ui.client.mvc.AppEvent;
import com.googlecode.gwt4gae.client.AppEvents;
import com.googlecode.gwt4gae.client.BaseAction;

public class HomeAction extends BaseAction {
	private HomeView view;

	public HomeAction() {
		registerEventTypes(AppEvents.HOME);
	}

	@Override
	protected void initialize() {
		view = new HomeView(this);
	}

	@Override
	public void handleEvent(AppEvent event) {
		forwardToView(view, event);
	}
}
